package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开票明细对象 invoice_records
 * 
 * @author ruoyi
 * @date 2024-04-25
 */
public class InvoiceRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 仓库编码 */
    private String warehouseCode;

    /** 仓库名称 */
    private String warehouseName;

    /** 工单号 */
    private String repairBillCode;

    /** 车号 */
    private String busCode;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    @Excel(name = "规格")
    private String specs;
    @Excel(name = "型号")
    private String model;

    /** 售价 */
    @Excel(name = "售价")
    private String productPrice;

    /** 进价 */
    @Excel(name = "进价")
    private String plarnPrice;

    /** 数量 */
    @Excel(name = "数量")
    private String productCount;

    /** 金额 */
    @Excel(name = "采购金额")
    private String productMoney;

    /** 品牌 */
    @Excel(name = "品牌")
    private String productBrand;

    /** 供应商 */
    @Excel(name = "厂家")
    private String provide;

    @Excel(name= "营运公司")
    private String company;

    private String status;

    @Excel(name = "结算模式")
    private String settlementMode;

    @Excel(name = "开票类型")
    private String productGroup;

    @Excel(name = "利润")
    private String profit;

    public String getProfit() {
        return profit;
    }

    public void setProfit(String profit) {
        this.profit = profit;
    }

    private String startTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setRepairBillCode(String repairBillCode) 
    {
        this.repairBillCode = repairBillCode;
    }

    public String getRepairBillCode() 
    {
        return repairBillCode;
    }
    public void setBusCode(String busCode) 
    {
        this.busCode = busCode;
    }

    public String getBusCode() 
    {
        return busCode;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductPrice(String productPrice) 
    {
        this.productPrice = productPrice;
    }

    public String getProductPrice() 
    {
        return productPrice;
    }
    public void setPlarnPrice(String plarnPrice) 
    {
        this.plarnPrice = plarnPrice;
    }

    public String getPlarnPrice() 
    {
        return plarnPrice;
    }
    public void setProductCount(String productCount) 
    {
        this.productCount = productCount;
    }

    public String getProductCount() 
    {
        return productCount;
    }
    public void setProductMoney(String productMoney) 
    {
        this.productMoney = productMoney;
    }

    public String getProductMoney() 
    {
        return productMoney;
    }
    public void setProductBrand(String productBrand) 
    {
        this.productBrand = productBrand;
    }

    public String getProductBrand() 
    {
        return productBrand;
    }
    public void setProvide(String provide) 
    {
        this.provide = provide;
    }

    public String getProvide() 
    {
        return provide;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getSettlementMode() {
        return settlementMode;
    }

    public void setSettlementMode(String settlementMode) {
        this.settlementMode = settlementMode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getProductGroup() {
        return productGroup;
    }

    public void setProductGroup(String productGroup) {
        this.productGroup = productGroup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseCode", getWarehouseCode())
            .append("warehouseName", getWarehouseName())
            .append("repairBillCode", getRepairBillCode())
            .append("busCode", getBusCode())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("model", getModel())
            .append("specs", getSpecs())
            .append("productPrice", getProductPrice())
            .append("plarnPrice", getPlarnPrice())
            .append("productCount", getProductCount())
            .append("productMoney", getProductMoney())
            .append("createTime", getCreateTime())
            .append("productBrand", getProductBrand())
            .append("provide", getProvide())
            .append("company", getCompany())
            .append("settlementMode", getSettlementMode())
            .toString();
    }
}
